/**
 * output package name
 */
package com.kingdee.eas.scm.sm.sc;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class DosingTypeEnum extends IntEnum
{
    public static final int BOM_VALUE = 0;
    public static final int HISTORY_VALUE = 2;
    public static final int MANUAL_VALUE = 3;
    public static final int NONE_VALUE = 4;
    public static final int HAVE_VALUE = 5;

    public static final DosingTypeEnum BOM = new DosingTypeEnum("BOM", BOM_VALUE);
    public static final DosingTypeEnum HISTORY = new DosingTypeEnum("HISTORY", HISTORY_VALUE);
    public static final DosingTypeEnum MANUAL = new DosingTypeEnum("MANUAL", MANUAL_VALUE);
    public static final DosingTypeEnum NONE = new DosingTypeEnum("NONE", NONE_VALUE);
    public static final DosingTypeEnum HAVE = new DosingTypeEnum("HAVE", HAVE_VALUE);

    /**
     * construct function
     * @param integer dosingTypeEnum
     */
    private DosingTypeEnum(String name, int dosingTypeEnum)
    {
        super(name, dosingTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static DosingTypeEnum getEnum(String dosingTypeEnum)
    {
        return (DosingTypeEnum)getEnum(DosingTypeEnum.class, dosingTypeEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static DosingTypeEnum getEnum(int dosingTypeEnum)
    {
        return (DosingTypeEnum)getEnum(DosingTypeEnum.class, dosingTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(DosingTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(DosingTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(DosingTypeEnum.class);
    }
}